﻿<Window x:Class="InteractiveLineDrawing.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Interactive Line Drawing" Height="768" Width="1024">
    <DockPanel>
        <TextBox Name="Program" DockPanel.Dock="Left" MinWidth="100" AcceptsReturn="True" FontFamily="Courier New" 
                 TextChanged="Program_TextChanged"
                 />
        <Grid Name="Viewer">
            <TextBlock FontFamily="Courier New" FontSize="14" Margin="10">
                Enter a series of line segments in the text box to the left.<LineBreak />
                They will be rendered à la turtle graphics.<LineBreak />
                <LineBreak />
                Warning: This text will disappear as you enter your drawing commands.<LineBreak />
                <LineBreak />
                Example: r * d * d * l * u
            </TextBlock>
        </Grid>
    </DockPanel>
</Window>
